/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.isl-radio {
  background: var(--checkbox-background);
  border-radius: 999px;
  cursor: pointer;
  height: 16px;
  position: relative;
  outline: none;
  width: 16px;
  appearance: none;
  border: 1px solid var(--checkbox-border);
  margin: 0;
}

.isl-radio:focus {
  border-color: var(--focus-border);
  outline-color: var(--focus-border);
}

.isl-radio:before {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  content: ' ';
  inset: 4px;
  border-radius: 50%;
  transform: scale(0);
  transition: 60ms transform ease-in-out;
  background-color: var(--checkbox-foreground);
}

.isl-radio:checked:before {
  transform: scale(1);
}
